package com.gdssoft.framework.service.system;
/*
 * 捷达世软件(深圳)有限公司
 * Copyright (C) 2008-2010 ShenZhen JieDaShi Software Limited Company. 
*/
import com.gdssoft.framework.model.system.AppFunction;
import com.gdssoft.core.exception.ExistException;
import com.gdssoft.core.exception.NotExistException;
import com.gdssoft.core.exception.NotCompleteException;
import com.gdssoft.core.service.BaseService;

public interface AppFunctionService extends BaseService<AppFunction>{
	/**
	 * 按Key 取得Function的值
	 * @param key
	 * @return
	 */
	public AppFunction getByKey(String key);
	
	/**
	 * 
	 * @param appFunction
	 * @return 
	 * @throws InputNotCompleteException 
	 */
	public AppFunction save(AppFunction appFunction) throws NotCompleteException;
	/**
	 * 
	 * @param appFunction
	 * @return 
	 * @throws InputNotCompleteException 
	 * @throws ExistException 
	 */
	public Boolean remove(Long funId) throws NotCompleteException, NotExistException;
}


